package com.s666.demo.common.response;

import com.alibaba.fastjson2.JSON;

public class ResultVO<T> {
    private String rsp_code;

    private String rsp_msg;

    private T rsp_data;

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }

    public void setRspCode(final String rspCode) {
        this.rsp_code = rspCode;
    }

    public void setRspMsg(final String rspMsg) {
        this.rsp_msg = rspMsg;
    }

    public void setRspData(final T rspData) {
        this.rsp_data = rspData;
    }

    public String getRspCode() {
        return this.rsp_code;
    }

    public String getRspMsg() {
        return this.rsp_msg;
    }

    public T getRspData() {
        return this.rsp_data;
    }
}
